improve Makefile handling of git checkouts with missing lib/ and config.mak
[musl] / arch /
drwxr-xr-x   ..
drwxr-xr-x - i386
drwxr-xr-x - x86_64