Fix wscript to check compiler TLS extension supported: fixes #283