misc: linking static SDL fails without -lpthread using gold linker