Use dir_config() to set search path for ncurses header

NCURSES_OPAQUE is not set on Mac OS X, dir_config seems to fix this
on the Macports version.

https://trac.macports.org/browser/trunk/dports/ruby/rb-ncurses-ruby/files/extconf.rb.diff