Fix issue with build docs script giving a "too many arguments" error

This was occurring if any of the required exes' path had a space in
it because it would be interpreted as separate words rather than one
string.