Changes DIST= to export DIST= so the value is carried over