Re-fix str and [u8] hashing when cross compiling