Build system 'bugfixes'

This request adds gitignore files for the Windows build and fixes the prebuild project in Debug configuration.