build: get libtool working with new autotools layout.