change to imports to support newer versions of python-daemon as well as the old centos version