restoring changes made by mzechner to original box2d source for the jni-wrapper