fix to support android cross compile on mac

this patch should be followed by https://github.com/alexcrichton/libuv/pull/2