fix configure file on darwin