cmake: support universal builds