Add dead code elim pragma to accomodate those running 2.0.0

Fixes the problem when running sdl 2.0.0