(Windows only) Test static linkage