Add std prefixes to fix the build with xlc.
Patch by Kai <kai@redstar.de>.