compilation and wknd fix for msvc
mscv warning clean