made project compatible with vs2012