Fix checking for tools/inspect to work regardless of cwd.