fix linux mkdir problem