Fix compiling in directories with spaces

This fix helps especially building OpenSSL on Windows when using Jenkins as the default build directory contains spaces in its pathname.

This patch requires the bsd_glob functions of Perl to be available which usually should be the case for any reasonable Perl configuration.