Fix linking issues after changing how SDL and SDL_Mixer definitions are set from autotools
Also fix missing cflags and ldadd in Makefile.am