Fix configuring openssl when static build
Upgrade ICU to 50.1.2