install prolog at build