Changing the code of actively developed roguelike to a non-standard set of keys is tricky at best.
I upgraded to the latest version and the upgrade process removed libtcod.so