Cmake support for MacOS has been added.