handled load failure for minitest4, backport from ruby/ruby trunk.