regex to check for .so file on cygwin