fixed missing linking