restored mkdir for buildroot