runtime: Delete overridden libraries from the correct "mesa" path
This bug has been found while working on !338 (merged).
When generating a new /etc/ld.so.cache
, a leftover libGL.so.1
from the runtime can cause problems because it may be loaded before the overridden one.