Added detections for configure