setup libtool and check_PROGRAMS