AAR Libraries: Fix resource generation

`R.java` wasn't generated for AAR libraries.