Makefile: move common Mac flags to common.mk