Add support for SLF4j if present on the classpath