Merge pull request #585 from orgads/warning-fix

Fix unused static variable warning on Windows