qwt: enable build with libc++ on Mavericks

Closes #24587.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>