PERL-409 add missing declarations for MinGW on Windows
Added build artifacts to .gitignore
Merge remote-tracking branch 'upstream/master'