autotoolized fork of http://www.cl.cam.ac.uk/~mgk25/jbigkit/