Fix compile errors on z/Linux.