updated programs/upc ldmlog references, and fixed _gf build problems in Makefiles