service_pipe: define MAX_PATH always if not defined

we need this on Mac OS X and Linux, maybe on other system later, too.
Do surround it with an #ifndef instead #ifdef NIX
common: add Mac OS X support part 2