MAPREDUCE-6078. native-task: fix gtest build on macosx (Binglin Chang)