make ovm.c work with vs