Further fixing curses build for Jenkins