Patch sources to ignore shadow warning while compiling