fixes for Apache 2.4 package