Win32: batch build: Check whether Perl architecture matches target architecture

Building the Perl modules fails in a subtle way if e.g. a 32-bit Perl
interpreter is present in %PATH% and a 64-bit C compiler or vice versa.
Hence check whether Perl interpreter and C compiler target architecture
match before starting a build.
1 file changed