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

As an aside, adjust SConscript to allow building C++11 applications.
No need for the empty string.