- fixed PS build script environment vars generation
- fixed MongoDB 64-bit std::size_t warnings
- added Thread::trySleep()/wakeUp() and tests