BZ1121886: add static dependency on org.apache.log4j to freemarker module to fix run-time ClassNotFoundException.