Now honors the c_library parameter also for libraries