Fix static linking with checking x86/x86-64 memcpy.