misc configure tweaks