link with the version of SDL that we built

Don't require SDL to be installed on the system, link with it
Clean up some warning messages

use Uint32 instead of int for SDL_GetTicks