typo fix and minor changes of configure files