added SDL_image, libpng and libjpeg.
and will solve some cross-referencing problems, like SDL_init called from static constructors.