Upgraded Ubuntu version to the latest LTS

This is likely an issue related to GCC. Have you read this post? Following the steps there should get your dependencies to compile.