Fixed exceptions with the latest version of Ogre 1.9
Added flags to disable samples and tools