build: throw error if unconfigured