Buildfix for Mac.