Fix clang compilation
Add unistd.h to main, needed for dup
Use StringView in write_debug
Use StringView in UserInterface and NCursesUI
Fix Option destructor that was not virtual