Fix libtool, ant; add erlang