Compatibility with AS 0.6.x+ Gradle Plugins

Since Beta release of Android Studio the build/ tree has changed a bit (technically since AS 0.6.x release, which includes all relevant changes to gradle plugins). This patch places the generated files into the correct directory.