added ccp stuff and -DHAVE_PATHS_H