Added support to cross-compile to android

Signed-off-by: David Terei <davidterei@gmail.com>