Add a C++ implementation of which(1).

As an aside, adjust SConscript to allow building C++11 applications.
class with all public members is a struct :)