Buildfix for a few platforms.