Updating cmake to work with titan