Add support for building the new 'ptformat' library with MSVC