android build: create local.properties from build script and perform a clean before build