Fix version reading in setup