Changes the build system to cmake, for and platform independent based on
config.cmake file