You are right, we set PSAPI_VERSION=1 by setting _WIN32_WINNT version to 0x501. This works when building with scons but fails for the cmake build for some reason I am investigating.
Also in the future please share these things on the tracker as that is the proper place for it. Most devs build with cmake and releases are build with scons, these differences can and do sneak up on us and that this is a good example.