build/common: fix version and role in nested calls