Fix windows build.

This patch fixes windows build.