Updated packages and fixes for build