-Fixed a problem where curl functions weren't found by linker
  Moved the linker flag to the end of object files