Modify setup.rb for check configure.