Remove preprocessor stuff make obselete by CMake