Fix dist handling in Makefiles.