Hide libsodium build output

This hides the output of the libsodium build unless an error occurs, in
which case the full output is printed.

This should make it easier to read the build output in Travis