[package] add missing cross-compilation patch from #5468, thanks swalker