Fix the target names in makefiles.