Update locallib.php

when upgrading the sales moodle server we got this error.  this line fixes that so that `$curl = new curl();` will work.