update allconfig to work on windows