Libya government in Tripoli announces state of emergency