Simplify absolute dir detection
OSX