initial commit with CMake on OSX support