Add support for linking against IBM JVMs

I've added support for IBM JVMs on Linux - on Oracle JVMs, libjvm.so is located in jre/lib/(arch)/server, but on IBM JVMs it's located in jre/lib/(arch)/classic.