windows compile pass: vs2010, cmake 3.0.1