mk: cleanup - minor fixes for android check
auto merge of #5281 : ILyoan/rust/master, r=brson

This fixes a problem on compiling test suits for android target.