Fix TextMateFormatter for Ruby <= 2.1.

`CGI.h` isn’t available before Ruby 2.1.0.