Fix broken libraries