make library work after autoconf migration