fixed memcpy link issue.