Finally fixed the checksum bug and the windows build.