Java wrapper for libmpq