Use JPL method to set native library load path instead of reflection hack
merge build_hacks