Add ruby version
Fix typo with compiler optimization level flag
Change format string to suppress warning.

I was getting a warning that stringByAppendingString was expecting a
long not an int.
Automatically detect the MacOSX SDK path

Hardcoding this was always problematic. Not everyone has the same SDKs
available. Sometimes this would break when people would upgrade their
OS.