fix generated includes and memcpy instances