Fix build with newer libtool