Fix ubuntu packages dependencies for .NET4.