Cherrypicked archSeer's Android support additions
Changes picked from these commits:
0ecd16650bc32b3b7597014b01cd318cfe22b9a8
d64998d54ef9771d410c4960a0f0a8e443de841a
9ff5f113a0891386e66793c033951001a25cd246
Closes kbranigan/Simple-OpenGL-Image-Library#4