Fixes problem when calling llvm-ar from an unmodifiable directory.