Added CMake options for debug/optimization/profiling.