Use base class instead of generic version on other OS than MSW or OSX