Workaround for plugin path + update ogre cmake

fixed the workaround for the plugin path, and updated the ogre cmake files.