Remove a android hack
Decides main name by target
auto merge of #5691 : ILyoan/rust/main_name, r=graydon

Existing rust code decides main name by host environment of rustc.
I think it should be chosen by build target.

This patch is also removing one of the android hacks that is not necessary any longer(I think it was not necessary from the first).