Add a CMakeLists.txt (inspired by the PPSSPP one) to build on MacOSX