Updated dependencies and some build warning fixes