fix crt security warnings for win platform

I this it will be usefull for project where security warnings treated as errors