Fixed build for Android so that there are 0 errors, 0 warnings.
0 errors, 0 warnings for OUYA.
0 errors, 38 warnings for iOS.
Incorporated comments from @danzel.
0 errors, 0 warnings for Linux.
Mac OS with 0 errors, 4 warnings.
Fixes for 0 errors, 0 warnings on Windows(DX) and WindowsGL.
0 errors, 9 warnings for PSM. All warnings are developer-generated using #warning directive.
Merge pull request #2136 from groundh0g/develop-2132

Fixes to target 0 errors, 0 warnings.