Bug fix for OS X build script

== for string comparison, not -eq