Fixing MDI on Linux