pyqt: enable build with libc++ on Mavericks

Closes #24213.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>