fix for log4j directories when not running tests from maven