Test cmake change to properly handle missing curses library