CMake fix for AppleClang.