Run configure script if present during build

This is currently geared specifically toward building PostGIS.