Fixing compilation issues after upgrading SLF4J.