Corrected gridtk to work outside the Idiap environment.