cc/gcc: Use build CFLAGS and LDFLAGS in cc_for_build()