do not link unnecessary libraries