Buildfix for Android, Linux, iOS.

Fixes #1184.
Buildfix for Windows x64.