Support c++11

Not only add -U__STRICT_ANSI__ to gtest, also to tests project.