Add option for building without example programs.