fix install bug.need to add os detect for windows