Minor change in the examples' main functions. (time() is not a member of std)