Fix. Define preprocessor macro in CMakeLists.