Add missing include of cstring

Fix compile errors on cray.