Compatibility with android studio version 0.3.0

Some build files have to be updated for the new version of android studio.