Modifications to Capistrano 3.x to work.