support OSX and Linux instead of linux only
Merge branch 'master' of github.com:caplin/jnijnaexamples