Add missing dependencies to build latest sogo