Add OSX into the logic that uses md5 instead of md5sum.