configure.ac: fix check for Minix