Update lcdf-typetools.rb

Ugly fix for build error on OS X 10.9 on version 2.99. I don't know how to get gists to work :(