Hopefulyl fixed directoryExists with boost.