ensure plugins directory is present