update hardcode CFLAGS which prevent cross build failed.