Fix configure script issues detecting fontforge after fontforge update. Based on the idea in PR 240407