Fix OS X detection.

This fixes Micro Python not compiling after the latest OS X updates.