Fix compilation error for windows. #27