Makefile: extract base from the archive if needed