Library: fixed crash in Library::load if exename is NULL