fix create folder in os < 17