Fix variable visibility
Merge pull request #252 from Alexpux/mingw-w64-builds

Fix variable visibility