Makefile: move more flags to the top Makefile