Moved some options to top of CMakeLists.txt