Fix dev mode for ruby 2.x

These build gems are needed by the build for stats, but are no longer supported by ruby 2.x