build: Fix DIR_ROOT detection.
packaging: Added packaging for CentOS.