fix boost build on Windows

supersedes #111