Fix dpkg-statoverride commands, support Ubuntu

As chmod is located in /bin and dpkg-statoverride in /usr/bin, this is not working on all platforms.