Add dependencies check

Added dependencies check, install targets for plugins, cmake config files.