Add gcc and OSX support. Install libsodium dependency.