Fix an example.
Enable openmp for examples.