Fix static link