build: Add -optimize to scalac opts.