USING_GLES2 platforms: Fix build and fix a warning on Android.
Fix stupid typo.
Merge pull request #3843 from thedax/fixMobileBuilds

USING_GLES2 platforms: Fix build and fix a warning on Android.