Temporary workaround for compilers that don't support `std::put_time`

GCC 4.8.1 (libstd++, more specifically) does not yet support `std::put_time`. Since most people here are using nuwen MinGW to compile and can't update to the 4.9 snapshots, we're going to use this as a workaround.