Fix broken Perl::Curses link.

Closes #30662.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>