Refactor Makefile and use sdl-config for SDL stuff