adapt platform version in repo url for amazon