Merge pull request #10 from nathansgreen/master

OSX Build
Merge pull request #11 from nathansgreen/master

Add encoding and locale to initdb
Make build work with JDK 1.6 and set LD_LIBARY_PATH.