Fix system library paths