support build on win for 0.3.0

Signed-off-by: xiehuc <xiehuc@gmail.com>