Honor version attribute in a way that should work, at least on debian/ubuntu.