Fixing install targets for plugins and plugin template