Fix for ios flags under windows.

Also use crc32 for the checksum.