Fixed issue with allocators for javavm enabled binaries