CMake: fix include workaround for OS X