Simple implementation GCD in C++11