patching self referencing sizeof class*