Add c++11 features to example.
Add argument parsing to select options for target.

Select c++ standard, main file, and output target.