Fix for static build.