Fix issue with earlier path-check (fixes "make check")