fix no java.library.path set when run on macos