Include log4j-api in external dependencies.