switch to new sdk and build tools, fix compatibility errors