Move INSTALL_PLUGINS[_DEBUG] variable to the main CMakeLists and remove assumption that are not valid on all operation systems.