update Makefile: add test -d stamp_unpack_xxx and stamp_patch_xxx