Fix linking with Boost.Thread on Windows.

Other libraries are failing to link with Boost.Thread on Windows because GetTickCount64 is not marked with __declspec(dllimport).