Improve probe ABI detection on Windows.

This adds debug/release to the ABI identifier, and fixes the detection of
32bit vs. 64bit builds.