fixed StdAfx link
fixed debug compilation