updated checksum access to BSD only