Add helpers to ensure configure runs once

If you *really* need to configure on import.