Added more checks for RabbitMQ library versions.