Fix building of packages on Linux.