make path check in base.t os-agnostic

This fixes #6. Please release it quickly.