fix binject extconf.rb for cross compile. mingw, arm