additional fixes for the GL side so Android would compile, but not fully working yet