Remove include/local.h and move defines to more appropriate places.