Fixed dynamic linking problem