I used Masscomp's version of this, it was sort of neat.
They did it (if I remember correctly, long time ago) with a symlink that contained an environmental variable.
/usr/lib -> /usr/$UNIVERSE/lib
or something like that.
It was a little disgusting having the kernel grok env vars but it worked quite well.