JENKINS-23155 Only run plugin under Linux (revised code for future compatibility)