fix static build with -icu when cross compiling