Fixes for Ruby 2.0

This pull request unbreaks extconf.rb on Ruby 2.0 systems, as well as fixing ieee.c to allow compilation.