Combine 2 #ifdefs in one.