Make gtest and apr both happy