Link in getopt.c where needed. Last part of the build fixes for Windows, tested by Kohei Yoshida.
Link in getopt.c where needed. Last part of the build fixes for
Windows, tested by Kohei Yoshida.

det/libzip,det/libzip,det/libzip,det/libzip