Fix usage of ar instead of ${AR}.