bugfix: compilation errors with nginx older than 1.0.0.