Correctly setting compile time defines in cmake