Fix building open source packages