silence some warnings about shadowed declarations and uninitialized variables

also configure updates