Fix building ruby-2.1.0 on Arch Linux (Ruby bug #9578)

See https://bugs.ruby-lang.org/issues/9578#change-45564