Moved build system to CMake. Renamed test.c to mpitest.c because of potential cmake target clashing.