Copied Apache 2.4 check
Merge pull request #4 from dsbaars/apache2.4

Apache 2.4 compatibility