makefile: don't get the nodename when auto-detecting build parameters. [R. Belmont, based on a patch by robert_s]