Update packages, start migrating to -O2 compilation