fix check for Debian-based distributions

Still doesn't hurt to keep the taglib line in debian/rules.
I also removed tabs and unnecessary spaces.
Update build.sh
removed trailing spaces
Merge pull request #283 from darealshinji/sb-trunk-oldxul

fix check for Debian-based distributions