Fix waldboost interface
Fix win build errors