Fix setting DYLD_LIBRARY_PATH with null library path
Ability to drop a pid file in daemon