Using SDL2 only where it's needed

Some examples are breaking the building on Mac OS X when using SDL 2.