buildfix on Mac.