Instead of trying to call out the build environment for a .so to link against, use the one UPM will build as a dependency. Also add guards around the SWIG commands for both Node and Python targets Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>