Updated profiles for running the example applications.

Updated profiles for running the example applications to compile the
example project before running the applications.