fixed build for VS2012 & VS2013