configure: pass ICU build flags to modules