Merge get_platform.sh to be a part of indep.sh