Fix MinGW compile with ActivePerl 64-bit 5.16

Added missing declarations to fix local compilation with PPM MinGW 4.5.4
and all PPM prerequisites except Authen-SCRAM. Authen-SCRAM 0.003 builds
and installs with MinGW.