Added extern const char *pidfile