Fixed OS X build

Current OS X versions no longer include GCC, and without this change you get a "Invalid argument -dumpspecs" message.