This interface seems changed after nginx-1.5.3, Could you add the conditional expression like this:

      #if defined(nginx_version) && nginx_version >= 1005003
      YOUR CODE
      #endif
It could make this module compatible with the old version nginx.