Only skip BuildConfig generation for dependencies of an AAR project.
This resolves issue #434.