fixes #41, checking directory aliases for shims and shim deps