FIx tests for checking in the "Release" build where they are
compiled with optimization.