Added support for msvc with hope of faster compilations