support android build

Support android build
This commit does not affect to each submodule's original standalone build system.
Some functions were commented out for matching to android GLES.