Allow NDEBUG to be used to decide where home dir is for pid file etc