Reorder plugin parameters

Also fix compilation with vc110_xp