The main/std files are incompatible with the new libcod (removed closer stuff). Updated them and made repo out of it: https://github.com/kungfooman/cod2_std