Avoid use of boost/chrono

Boost chrono was first available in boost-1.47, but we need to
support older versions.  Therefore, we use Windows GetSystemTimeAsFileTime
or POSIX gettimeofday