fixed variant dir for compilers with spaces #859