added check to avoid globaleaks to be runned by root user