Fix up newlib cflags at the right time
fix cross-gcc