fixed compilation for vs2013 project