fix correct export macro guard in libpbd for mingw64