use public SDL API for getting a native window handle