generate the version string at make time, instead of configure time.
don't regenerate version.h if it hasn't changed since last time