Add initial cmake file for building on Linux

Only tested on gcc 4.8 so far