Compiles on linux

Hi,

i've been able to compile cbw on linux with gcc 4.8 with the following patches.

$ echo "foobar" > data.cipher
$ LETTERSTATS=mss.stats BIGRAMSTATS=mss-bigram.stats TRIGRAMSTATS=trigrams.stats ./cbw data

starts up fine, though the terminal is mostly non-functional.