Corrected a CMake issue which appeared to happen between two different versions of OSX.