The getopt routines here were taken from glibc 2.1.2, 

To include them in wsmake, use the configure option: --enable-getopt-long
