Added database construction to the build process.