Fix OS X build

- Use $(uname) instead of $OSTYPE
- Fix shebang
- Fix typo

Signed-off-by: Vojtech Vitek (V-Teq) <vvitek@redhat.com>
Merge pull request #1773 from VojtechVitek/uname_ostype

Fix OS X build