Updated dependencies, fixed compilation issues