Fix testbuild.sh: check against 0 was incorrect