fixs lp_conf.h path. add macos targ for makefile.