Fix install when curses lib is missing