Fix for github.com/benetech/FBReaderJ/issues/84