fixing Windows building; more intelligent tests for proper icu>=50 installation