Add compatibility with apache 2.4