Fix building package process.