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.
Merge pull request #987 from sclark39/fixbuilddocs

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