I build this lib with vs2010 on windows
I meet the same problem. I comment the code suggested by David, but it did not fix the problem.