Lock plugin usage on OSX only