Compile cmake

steps copied from https://github.com/freeformz/heroku-buildpack-io/blob/master/bin/compile