Try to fix static build.