Removed unnecessary library linking