Fix building on OS X El Capitan 10.11
The preprocessor directives for proper OS version support are missing their last digit, rendering the checks defunct.
This helps with #3592 (closed) but does not fix it, as there has been one more breaking change that didn't surface before. (See issue for details.)