block/sio: fix compile errors