Fix logging libraries.