Updated to not use 32-bit time_t on 64-bit Windows