update the makefiles a bit