remove deprecated cmake lines