Make sure functions use shm-insert-string to preserve alignments