* Move gtest main into separate file to keep testfiles clean. * Add explicit std=c++11 to support compilers where c++11 is not yet the default. * Remove -lssl because only crypto is needed