Changed unused CXXFLAGS, gtest_dir
from protected to public, in order not to cause compiliation error
ignore test/gtest