Fix for Yarn 2.2 support on akka 2.2.3