CMake build type option
Header dependency bug when compiling in release mode.