Fix OSX build

Use awk instead of sed to capitalize the PACK variable.

OSX version of sed doesn't support the \u option. This is a GNU sed extension.

Fixes #11.