build env, gnuprolog lib & include path