cleaning configuration windows code

Signed-off-by: benoit brayer <brayer.benoit@gmail.com>