Fixed CMake project generation issues with MacOSX 10.9 and Clang compiler.

This might be a not robust temporary fix.
Disabled OpenMP detection with MacOSX...