parseformat made private and fixes mingw build