simplify toplevel Makefile so that it can inclide common.mk