add Tilera version stuff in buildscript and removes some redundant codes to avoid...