Add automake and libtool support in judge