add flag to build examples (default off)