Fixed MSVC errors for compiler inheritance