r22924: Fix the build by correctly processing readX