fix library search paths.