spatdifLogger path cross-compatibility added