Changes suggested by @dexX7 that avoid issues where boost path is using wchar_t * instead of char * for paths