Fix catacurse.h compilation with the new ui.cpp