Fixing Apache 2.4 incompatibility