Fix issue #780 : krun / kast --version

@yilongli please review
Is this code related to the simulation stuff? If so, I don't think it should appear here. We should consider remove it later.