Fix msvc compile issue with datapaths