Removed some unnecesary flags int the CMakeLists file