adapt for older cmake versions