Makefile: hoist uname autodetection to config.mak.uname