fixed up this example
more fixes for the intel compiler