Revert "[package] shadow: rework Makefile" (should fix #13515)