fix to compile with nginx 1.4.1+ versions