Static linking now works on Windows.