Unless I'm remembering wrong, this has only reproed on 10.9, yes? And the issue was during compilation, not at runtime, which suggests the issue is actually something to do with headers (or even with superenv filtering out a necessary flag). That would imply it could be an OS issue that wouldn't exist on other OS X revisions.