Windows: Fixed build on Windows, Android and Windows Phone after last commit.

Related to issue #422.