Added optimisation flags to CMakeLists.txt