(feat) Generalized configure script.