jni/build.sh: attempt to fix tools.zip build on my machine

Currently blocked at the realpath commands in the 'creating ruby root...' part, I don't understand what needs to go on at that point.