Fixes double call (configure)