Fix the problems that cause litevirt-api service not to start