CXX-119 Build examples twice since static and shared are different