Missing require for file lib (curl calls under some circumstances)