[JENKINS-18368] Trying to work around core bug by correcting the Unix flag on the launcher when running polling.