Fix dependencies error with dart 1.4