less confusing nested #if style