Fix Zyn GUI hard crash on Win32

I can't explain why @tobydox doesn't have to do this in his builds but committing to push ahead with 1.0.3
Merge pull request #928 from tresf/stable-1.0

Backport to 1.0 branch - Fix Zyn GUI hard crash on Win32