substrate: use proper config flags