unified work around for android glGetString bug