Merge pull request #1574 from Diapolo/pro-file2
fix for build.h regeneration failure when compiling on Windows