Fix VS project to allow cli to build with dlls.