fix SDL build (nw)