Fix copy/paste error (#8937)
Test return value of clock_gettime() for errors.

I don't want to fall back to gettimeofday(), because that might have a
different absolute value.
Disable thin archive support on Windows