fix travis builds for 2.0, 2.1

`perftools.rb` isn't supported on Ruby >1.9; we should look at using https://github.com/tmm1/stackprof on 2.1+.