Configure pkg/pkg.go for darwin/osx support