Make compiling on BSD less painful: mktemp really does need a template on some machines, and warn the user about make vs. gmake at configure time.