configure: minor improvements.