fix Makefile build dir link upgrade bug reported by @jamt9000