menuselect: Fix curses build on Gentoo Linux