Cleanup in ar.cpp - fixes compilation warnings in clang++ and g++