compiler/libec: Fixed MemoryGuard issues with MinGW-w64/GCC 4.8 headers