Fix cross-platform package transform

# Fix cross-platform package transform