fix cabal setup for Mac OS X

(minor) Mac OS X stores additional jni files in the /darwin/ subdirectory (as opposed to /linux/ for linux).