CMakeLists.txt: Added option to build OS X framework