Renamed some cmake variables to be more consistent.