Added apache conditional dependency