libcopybit: ifdef for ion