Fix curses package build.