rename http_request to avoid name clashes
Fix makefile for OSX