modify makefile ,fix apache build