Add -mmacosx-version-min=10.5 to compiler flags on OS X.

Although AMXX currently appears to load and work on OS X just fine without this, it may not always. So to be safe, this flag should be added so that we don't accidentally pull in some symbol that only exists on 10.9.