GH-98: gcc haet write_clip's missuse of struct
GH-98: extract TARGET_ARCH to make it easier to disable