Clear all rules global environment variables on every iteration.
Use "source" instead "."
Add VERSION to cleaned variables.
Rearrange variables.
Merge pull request #277 from Alexpux/mingw-w64-builds

Clear all rules global environment variables on every iteration.