Added in check for vendor.

I am not sure about how OpenJDK 6 handles System.mapLibrary(String) on Mac OS X.