Make CMake file platform independent. Currently builds for Linux or Mac OS X.