THRIFT-4582: Fix Xenial CI build issues (#1563)

* THRIFT-4582: fix xenial build issues

* THRIFT-2913: fix Thrift::ThreadPoolServer should serve inside a thread on xenial

* THRIFT-4478: Move Xenial up to dmd 2.075.1 as that is the new minimum
version that works since the changes for 2.080.0 went in.
diff --git a/lib/rb/spec/server_spec.rb b/lib/rb/spec/server_spec.rb
index ee58c7c..57f5237 100644
--- a/lib/rb/spec/server_spec.rb
+++ b/lib/rb/spec/server_spec.rb
@@ -144,6 +144,7 @@
         exception_q.push(StandardError.new('ERROR'))
       end
       expect { @server.rescuable_serve }.to(raise_error('ERROR'))
+      sleep(0.15)
     end
 
     it "should avoid running the server twice when retrying rescuable_serve" do
diff --git a/lib/rb/thrift.gemspec b/lib/rb/thrift.gemspec
index fcc344f..0f96c3f 100644
--- a/lib/rb/thrift.gemspec
+++ b/lib/rb/thrift.gemspec
@@ -34,7 +34,7 @@
   s.add_development_dependency 'rack',               '~> 2.0'
   s.add_development_dependency 'rack-test',          '~> 0.8.3'
   s.add_development_dependency 'rake',               '~> 12.3'
-  s.add_development_dependency 'rspec',              '~> 3.5'
+  s.add_development_dependency 'rspec',              '~> 3.7'
   s.add_development_dependency 'thin',               '~> 1.7'
 end