Updated to fix building with pxcapi in debug mode.