Add support for high-resolution timing on Windows, and remove C++isms