Fix: support new configure API