Task #0052: CMake fixes for mac10.8 with macports and matter@nsc.