Added platform check when starting the plugin

Fixes #3