Had to tweak target type and import paths in order log4d could be referenced outside the project.