Including apache only when cgi or web is enabled. Useful for distributed setups