[mesa-freeworld] Add workaround for -freeworld build