Fix on old perl and add autokill