fix userdata dir on os x