Add GC flags for Ruby.