Fix issues with mod dir dropdown being off by one.
Fix minor issue with the Windows build scripts.