configure: Fix wrong stderr redirection