Fixed plugins build script on Windows.