improved code for fixing paths for libs
Authored by: nabber00 2010-02-09
Parent: [r584]
Child: [r586]