Fix autoconf integration