expand path when loading java extension to make it load from within a jar file