cygwin compatibility

Signed-off-by: Bob Roberts <bobroberts177@gmail.com>