fixing some library paths