upstream should fix the configure script and learn how to build a convient library as well. Raised as part of PR 37581.