Update build.gradle and build with SDK 18