Initial Linux (and OS X) compatibility.