libmatio: support universal builds