Currently, Clang looks for libc++ headers alongside the installation directory of Clang, and it then looks for libc++ headers in the sysroot. This patch reverses the order so that headers are searched for in the following order:
- <sysroot>/usr/include/c++/v1
- <installdir>/bin/../include/c++/v1
The benefit of doing this is that a user-installed libc++ can be picked up when providing a custom sysroot, which doesn't work properly right now.