simplifying a few cmake vars