tweaks to bootstrap for debian compatibility.