If the deviation is a fairly constant 20 degrees on all headings, why not simply move it in its mounting?
If the deviation is wildly different on various headings, you may have a problem if it has no in-built compensation. So all you can do is swing it against a reliable hand bearing compass and construct a deviation card.