improvements to config.w32
TSRM fixes