put back getopt include, link to libgetopt in ui/Makefile