Compilation errors when trying to recompile a plugin for a new engine version in VS (5.1 to 5.3)

Got this error C2065 ‘MD_Surface’: undeclared identifier. Tried to include “MaterialShared.h” but it has no effect.