Improved build scripts, new JVM headers
Fixes unset LD_LIBRARY_PATH