Fix for Mac OSX

Twee doesn't work on Mac OSX in the Terminal. With this modification, it will.
Warning: I only tested in Mac OSX 10.7. It might break stuff on other plateforms.