Fix OS X build

- Use $(uname) instead of $OSTYPE
- Fix shebang
- Fix typo

The OS X build failures (caused by the wrong `$OSTYPE` env var) were originally reported at:
https://github.com/openshift/origin/issues/177

Signed-off-by: Vojtech Vitek (V-Teq) <vvitek@redhat.com>
Actually -- this is a library and it probably doesn't need the shebang at all.  But no harm, really.