fixing build on 32-bit and latency on jsproc unittests