Fix mingw build issue caused by "interface" preprocessor definition