fix ruby 2.0.0 error. undefined symbol: ruby_current_thread