Forgot to define __STDC_CONSTANT_MACROS.
Moved timestamp conversions into .cc.