cater for obscure cygwin bug