Pretty printed code and changed name of osx lib from foo.jnilib to libfoo.dylib