Remove unconditional -no-as-needed flag from ncurses build parameters.