Fix GSM build.