Final compile fixes for zio.c