Fixing finding of SDL2main library and now properly linking SDL