Added CMakeLists to cross compile, working on Mac