Compile both on OSX and Linux.