updated bundle activitor to handle dynlib/jnilib issues on macos jdk7+