Fix to registry check to get start.bat working correctly on XP.