update build commands for examples

-src-dir should be --src-dir.