Add --localtime flag to spec compiler.
Add Makefile entry for generating refs file.