Build sdl interface