Fixing build script to work with SDL.