added the right libraries to make l flag work