fix static build on lin64