Added support for later versions of OS X

Previous check does not work via SSH. Using full path.
Merge pull request #2 from mikedowney01/patch-2

Added support for later versions of OS X