Fix for windows env

Signed-off-by: Bao Haojun <baohaojun@gmail.com>