Unpack: compatibility with Windows and Linux