Added stricter compilation flags to examples.