Fix Build for Win7/vs2008
Close #190