Merge pull request #2 from johlo/master

Some fixes for compilation on the mac
Use the correct priv/ path for the fdb_nif.so

The directory was hardcoded, which doesn't work when
the fdb application is part of a release.