workaround an issue with recent gcc toolchains

* for GCC > 4.6, we need to clarify this to avoid sizeof/memcpy conflicts