This was a linux specific hack it turns out