metis: support universal builds