Allow darwin as OS for nw-pkg
Configure pkg/pkg.go for darwin/osx support
Merge pull request #3 from xsleonard/patch-2

Add support for darwin/osx compilation