Fix build of some plugins in MS Windows.