Add --local option to configure