Small improvements to make the buildsystem more Debian-friendly.