fixed a bug

machines without vs 2013 generated an error