fix use of YARP_DIR for swig integration tests