fix for java 7u65 bug. ordering of libs
Signed-off-by: Christopher Kohlhaas <christopher.kohlhaas@gmail.com>