win32: fix build and use Millisec in ThreadImpl
Merge branch 'master' of github.com:rhomobile/rhodes