[Bug 49637] Build fails when CROSSCFLAGS are passed