fixed missing link libraries under linux