base.mk: compiler detection, gcc-{ar,ranlib,nm}, gnu11