Fix portable version.