fix android compile (doesn't work yet with GLES 3)