fixed ApplyConfiguration.pl to make dirs before wring Configuraiton.mk