Small bugfix to OSX CMake