moved compiler options to CMakeLists in root dir