As a note, sooner or later I'm planning to move this to the xcconfig to pave the way to #731.