If the bolt is too short why not try raising the latch plate?

I'd try putting some washers under the plate until it latched. If it took more than two I'd start investigating why things aren't the way they should be.

I'm assuming that your latch looks like THIS


Woody
Your Brother in Bolthood

My 1951 half-ton 'Ol Red

Save the VINTAGE DOOR ART! Please contribute photos.
Door Art Collection