Backport 'Set default gcc/ar for android cross compiling."