Tests Failed on Mac OS X

Two more small changes.  One fixes a bug in _home that was causing Mac OS X to be detected as Windows.  The other is just to explicitly import the `dir` function from `Path::Class`.