Android: Hardware acceleration compatible with Api < 11

Fixes Android build. Don't have a device to test this because it just works for me. :/