Make the target platform consistent with webapi.