Fixing classpath issues regarding log4j, common-logging and slf4j