to support android and necessitas, compiles static libs