Useflag sync, convert expansion variables to expanded form

(Seems like inhertiance doesn't work for e.g. VIDEO_CARDS.)