mac does not have --parents

Running on a mac the mkdir --parents didn't work for me.