Update android specific bits for newer rust.

s/~str/String/