fixing build for ARC