The addon works fine when I compile directly from Visual C++.