Use target platform instead of repositories.