Remove build type detection from CMakeFiles