Implement explicit thread stack size specification on Windows.