Patch by Xing Xue to improve libc++ support for AIX