fix swig caching - use full path instead of just baseName