add compatibility for capistrano 3