Make version function return the correct exit status.