Changed packing style from long to long long, some OS differences