Fix running on Ruby 2.0

Module#prepend was made public in Ruby 2.1.