Remove optimisation code from Rakefile