conditionalize usage of the 10.5 sdk as the sysroot

(in the autotools version of the build system, that is)