Reduce string.h.

This is for portability and maintainability.