Added pthreads-win32, and getopt/getopt_long to Windows build.