Improve the version numbers generated by the build system

If we can't find a better date to use, then use today's date.