FL-559: libsdl x32 fixes, moved from FLora to funtoo tree