getCMakeParam was failing if cmake was not found.  now it fails more gracefully