fix compilation with Apache 2.4.x

These fixes allow to compile neko with Apache 2.4.x
Please note: APLOG_MARK macro is defined in 1.3.x branch of Apache as well.