attempt at a configure script/auto-detect distro defaults