Yeah, why is this even enabled on Linux? BTW, the CMake way to test for Linux is CMAKE_SYSTEM_NAME STREQUAL Linux.