compiler/libec: Patch to avoid warnings when strlen is being defined