Typo fix in Qt build, fix C89 violations (should rather fix the Android build config, but hey...)