- add missing include unistd.h
- build with system getopt
- rel 2