To my knowledge, it's right there in the final regulations. The step-up in basis after a ten-year holding period will effectively wipe out all built-in gain on any QOZP, including Section 1245 recapture. No need to do anything special with respect to Section 1245 recapture to get these benefits.