Fix libstdc++ not using TLS when cross compiling