configure: use test in a portable way