Fix to gem installation issue on some machine

Solution via: https://github.com/arika/ruby-termios/pull/1/files