Fix some compatibility problems with Rake 10.2.0 and later.

'rake test:integration:nginx' would result in a 'circular dependency' error.
See https://github.com/jimweirich/rake/issues/274