configure: Fix for whitespace in path (2nd try)

May fix #10170.