Buildfix for non-GL platforms.