fix static link