Added error conditions to build.sh
Added libogg download/compilation.

Had some workstation-specific libraries which caused compilation success locally,
but failures in travis.
Added step to install libraries on local box during build.

libopusfile needs libopus and libogg to be built and installed locally,
they can't be specified in any other way.