fixed compilation with old nginx