Resolves missing BuildConfig from APKLIB->APKLIB dependency #437

This resolves issue #434. The change made in #403 was intended for AAR projects, however APKLIB was affected as well. This commit changes the package check when deciding to skip BuildConfig generation of dependencies from !=APK to ==AAR.

New pull request with the changes on a branch. See #437.