fix for VC2012 or VC2010/VC200x debug version build