less hacks, move to win32/, import gnulib, enable getopt_long