Modify makefile to handle cross compiling for android