add missing build dependency on generated config

This removes a racing condition from the build process.