Use .dylib extension for Mac OS X libraries.

System.mapLibraryName() uses the .jnilib extension on Java 6, but .dylib
on Java 7 and up.
Bump the version to 0.4.
Merge pull request #3 from tavianator/java-7-mac-support

Java 7 mac support