Tweak OSX open check (open does something different on Linux)

It turns out `open` exists on Linux and does something different. Does this work for you?