fix sdk install script, cache sdk and build on travis