Fix bug in mrpt::system::createDirectory() in Win