Fixing faulty lib references