Merge pull request #4 from evoskuil/develop

Update VS builds, make cast explicit.