Move common standard library functions into common header.