made sure plugins dir gets created #1051