Updated the configure for w3m and erc.