use $nonroot in configure script, use cat instead of echo