fix viewrc, and add wine