fixed some missing linking dependencies