Would you mind restructuring this to be called `maybeAvro` and have it return a sequence of dependencies (that might be empty)? I'm just asking because @sryza will need to do something similar for Hadoop dependencies and it will be cleaner to have something like:

    libraryDependencies ++= maybeAvro
    libraryDependencies ++= maybeHadoop

rather than a bunch of if statements.