remove unused dependencies and adding support to different versions of VS