This is needed for binary drivers such as ati-drivers which installs to usr/lib/{opengl,xorg} dirs.
/me as maintainer of that thing is interested :]
Fixed in r14115. I also added support for QA_NEEDED variable.
This is fixed in 2.2_rc39.
This is fixed in 2.1.7.