Added tr1/array fix for Mavericks.