Update extconf.rb to compile correctly on OS X