Replaced suseconds_t with long because Windows.
Moved trunc() function to vrpn namespace.