fix static SDL build