Fixed compatibility problems with Ruby 1.8.6 (issue #924)
Fix some problems with compiling the Nginx module when natively packaged