fix windows install issue when dir string contains space