configure.ac: fix previous change to detect libjvm