Automatically link with required win32 libraries

Somehow #101 has been closed, reopening here.

It turns out the 64bits libraries are good and `ld` is crashing only because of https://github.com/rust-lang/cargo/issues/814