Move common makefiles