modify cmake files in Ruby bindings