fix erfc for mac that was broken by windows patch