Fix termcap loader
Merge pull request #1 from kikuchan/master

Fix termcap loader