sophia-update: support host CFLAGS/LDFLAGS.