fix for vs2013 compile