Merge pull request #166 from euanh/build-improvements

Add missing dependencies discovered when trying to build on Ubuntu