Wrote CMakeLists.txt for building on linux