Fix makefiles.