Fixed compile error: memcpy not defined