Add 32/64-bit detection in windows jenkins build script