fix use of private stdlib-function
Fixing useless warnings in various files.