Fix bug which enabled plugin by default on all platforms