reorder link-time flags

reason: building on windows complained about undefined references to
functions defined in libws2_32, which was linked against, but not in
the right order.

Don't forget to update the udt4 submodule in netvirt after you merge :)