Update extconf.rb

 'solaris2.11'  =~ /solaris(!?2\.11)/ will return 0, which in ruby is true, not false so std=c99 is still showing up on solaris 11.