allow skipping of swig dependency computations for testing
fix case mismatch of variable names