Another try to fix static build.