Use the standard way of building cmake projects. This also removes the unnecessary build files from the output.