Added CMake for cross-platform building (very raw and dirty, brr)