Revert "Properly escape paths to executables. Fixes #18632."

This reverts commit bec2ee77f78b4bb8a503101091272a634a273a1c.

Conflicts:
	configure

Caused distcheck failures and #18771